package it.polimi.jita.cp.block.scheduler;

import it.polimi.jita.cp.block.Output;

import java.util.Collection;
import java.util.Collections;
import java.util.LinkedHashSet;
import java.util.Set;

public class SchedulerOutput extends Output {
	private Set<IVirtualMachineSchedulerData> virtualMachines = new LinkedHashSet<>();

	public boolean addAll(Collection<IVirtualMachineSchedulerData> c) {
		return virtualMachines.addAll(c);
	}

	protected Set<IVirtualMachineSchedulerData> getVirtualMachines() {
		return Collections.unmodifiableSet(virtualMachines);
	}
}
